Fool's errand

A fool's errand may mean: